package com.tedu.egnotice2.mapper;

import com.tedu.egnotice2.pojo.dto.NoticeAddQuery;
import com.tedu.egnotice2.pojo.entity.Notice;
import com.tedu.egnotice2.pojo.vo.NoticeDetailVO;
import com.tedu.egnotice2.pojo.vo.NoticeListVO;

import java.util.List;

public interface NoticeMapper {
    int insert(Notice notice);

    List<NoticeListVO> select(NoticeAddQuery noticeAddQuery);

    int delete(Long id);

    NoticeDetailVO selectDetail(Long id);

    int update(Notice notice);
}
